VERSION =	0.1

INSTALL_PREFIX = /usr/
INSTALL_BIN =	$(INSTALL_PREFIX)/BIN
INSTALL =	/usr/bin/install

INCLUDE =	-I/usr/include -I.
CFLAGS =	-Wall -g -O2 $(INCLUDE)
CPPFLAGS =	$(CFLAGS)

LIBS =		-L/usr/lib -lsqlitewrapped -lsqlite3
APPNAME =	arrowtask

PROGS =		$(APPNAME)

all:		$(PROGS) $(APPNAME)

		
LIBM =		Event.o EventTest.o Todo.o
$(APPNAME): 	$(LIBM)
		g++ -o $(APPNAME) $(LIBM) $(LIBS)

install:	all
		@mkdir -p $(INSTALL_BIN)
		$(INSTALL) $(APPNAME) $(INSTALL_BIN)

clean:
		rm -f *.o $(PROGS) *.d *.so 

-include	*.d
